package org.stvd.repository.admin;

import java.util.List;

import org.stvd.core.dto.QueryResult;
import org.stvd.entities.admin.Resources;
import org.stvd.repository.base.BaseDao;

public interface ResourcesDao extends BaseDao<Resources> {

    List<Resources> findResourceAll(String guid);
    
    List<Resources> findResourcesByRoleId(String roleId, String guid);

    List<Resources> findResourcesByUid(String userId, String guid);

    List<Resources> findResourcesByType(String type, String guid);

    QueryResult<Resources> getResourceQueryResult(int start, int limit, String type, String guid);
}
